package com.crl.ui.bitmaps
{
	import flash.display.BitmapData;
	import flash.display.FrameLabel;
	import flash.geom.Rectangle;

	public class BitmapFrame
	{
		private var _bitmapData:BitmapData;
		private var _rectangle:Rectangle;
		private var _frameLabel:FrameLabel;

		public function BitmapFrame(
			bitmapData:BitmapData,
			rectangle:Rectangle,
			frameLabel:FrameLabel = null
		)
		{
			_bitmapData = bitmapData;
			_rectangle = rectangle;
			_frameLabel = frameLabel;
		}
		

		public function get bitmapData():BitmapData {
			return bitmapData;
		}

		public function get rectangle():Rectangle { 
			return _rectangle ;
		}

		public function get frameLabel():FrameLabel {
			return frameLabel;
		}
	}
}